package com.wg.dome.entity.config;

import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;
import com.wg.db.schema.AccessLevel;

import java.io.Serializable;

@EntityTable(tableName = "static_init_hero",accessLevel = AccessLevel.ReadOnly)
public class InitHeroEntity implements Serializable {
    /**
     * 唯一id
     */
    @EntityField(isKey = true)
    private int id;

    /**
     * 名称
     */
    @EntityField
    private String name;

    /**
     * 品质 1:蓝色  2:紫色  3:橙色  4:红色  5:金色
     */
    @EntityField
    private byte quality;

    /**
     * 职业 1:盾  2:医  3:辅  4:战'
     */
    @EntityField
    private byte job;

    /**
     * 生命值
     */
    @EntityField
    private int hp;

    /**
     * 攻击力
     */
    @EntityField
    private int atk;

    /**
     * 物理防御
     */
    @EntityField
    private int def;

    /**
     * 魔法防御
     */
    @EntityField
    private int rgs;

    /**
     * 命中率
     */
    @EntityField
    private int dex;

    /**
     * 暴击率
     */
    @EntityField
    private int crt;

    /**
     * 闪避率
     */
    @EntityField
    private int evd;

    /**
     * 抗暴率
     */
    @EntityField
    private int kbl;

    /**
     * 伤害加成
     */
    @EntityField
    private int amp;

    /**
     * 技能加成
     */
    @EntityField(fieldName = "skill_up")
    private int skillUp;

    /**
     * 技能抗性
     */
    @EntityField(fieldName = "skill_res")
    private int skillRes;

    /**
     * 伤害减免
     */
    @EntityField(fieldName = "damage_res")
    private int damageRes;

    /**
     * 出场能量
     */
    @EntityField
    private int energy;

    /**
     * 普通技能Id
     */
    @EntityField(fieldName = "normal_skill_id")
    private int normalSkillId;

    /**
     * 专属技能Id
     */
    @EntityField(fieldName = "proper_skill_id")
    private int properSkillId;

    /**
     * 等级上升，人物能力值提高数值
     */
    @EntityField(fieldName = "up_value")
    private int upValue;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public byte getQuality() {
        return quality;
    }

    public void setQuality(byte quality) {
        this.quality = quality;
    }

    public byte getJob() {
        return job;
    }

    public void setJob(byte job) {
        this.job = job;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getAtk() {
        return atk;
    }

    public void setAtk(int atk) {
        this.atk = atk;
    }

    public int getDef() {
        return def;
    }

    public void setDef(int def) {
        this.def = def;
    }

    public int getRgs() {
        return rgs;
    }

    public void setRgs(int rgs) {
        this.rgs = rgs;
    }

    public int getDex() {
        return dex;
    }

    public void setDex(int dex) {
        this.dex = dex;
    }

    public int getCrt() {
        return crt;
    }

    public void setCrt(int crt) {
        this.crt = crt;
    }

    public int getEvd() {
        return evd;
    }

    public void setEvd(int evd) {
        this.evd = evd;
    }

    public int getKbl() {
        return kbl;
    }

    public void setKbl(int kbl) {
        this.kbl = kbl;
    }

    public int getAmp() {
        return amp;
    }

    public void setAmp(int amp) {
        this.amp = amp;
    }

    public int getSkillUp() {
        return skillUp;
    }

    public void setSkillUp(int skillUp) {
        this.skillUp = skillUp;
    }

    public int getSkillRes() {
        return skillRes;
    }

    public void setSkillRes(int skillRes) {
        this.skillRes = skillRes;
    }

    public int getDamageRes() {
        return damageRes;
    }

    public void setDamageRes(int damageRes) {
        this.damageRes = damageRes;
    }

    public int getEnergy() {
        return energy;
    }

    public void setEnergy(int energy) {
        this.energy = energy;
    }

    public int getNormalSkillId() {
        return normalSkillId;
    }

    public void setNormalSkillId(int normalSkillId) {
        this.normalSkillId = normalSkillId;
    }

    public int getProperSkillId() {
        return properSkillId;
    }

    public void setProperSkillId(int properSkillId) {
        this.properSkillId = properSkillId;
    }

    public int getUpValue() {
        return upValue;
    }

    public void setUpValue(int upValue) {
        this.upValue = upValue;
    }
}
